package com.ark.cloud.java.persistence.entity;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 开火事件
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("fire_event")
public class FireEvent {

    @TableField("id")
    private Long id;

    @TableField("timestamp")
    private String timestamp;   // 时间

    @TableField("firing_id")
    private String firingId;   // 发射武器的平台id

    @TableField("target_id")
    private String targetId;   // 被攻击的目标平台id

    @TableField("munition_id")
    private String munitionId; //	武器id

    @TableField(exist = false)
    private EntityType munitionType; // 武器类型

    @TableField("munition_type")
    private Long typeId;


}
